package com.newgrand.annexserver.datasource;


import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;

public class NgDynamicRoutingDataSource extends AbstractRoutingDataSource {

    @Override
    protected Object determineCurrentLookupKey() {
        return NgDataSourceContextHolder.getDataSourceKey();
    }

}